package com.itheima.service.impl;

import com.itheima.dao.DepDao;
import com.itheima.domain.Dep;
import com.itheima.service.DepService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Mr.King on 2017/3/4.
 */
@Service(value = "depService")
public class DepServiceImpl implements DepService{

    @Autowired
    private DepDao dao;


    @Override
    public List<Dep> getList() {
        return dao.getList();
    }
}
